#include "systemutils.h"

SystemUtils::SystemUtils()
{

}

void SystemUtils::setDropShadow(QWidget* target,const QColor& color, int radius ,int offset  )
{
    QGraphicsDropShadowEffect *geffect = new QGraphicsDropShadowEffect(target);//设置logo的阴影
    geffect->setOffset(offset);
    geffect->setColor(color);
    geffect->setBlurRadius(radius);
    target->setGraphicsEffect(geffect);
}
